package net.ubinow.mflex.data;


public interface IDataBinder {
	   
   public void setItems( IDataItem[] items );    
   public void addItem( IDataItem item );
   public void insertItem( int index, IDataItem item ); 
   public void removeItem( IDataItem item );
   public IDataItem getSelectedItem();
   public String getSelectedText(); 
   
   /** sets the expression that is used to bind to this object **/ 
   public void setBindingText( String expression ); 
   
   /** used to remove the binding text **/ 
   public void removeBindText();
   
   /** called when the selected item changes **/ 
   public void setIndex( int index ); 
}
